import request from 'umi-request';
import { useEffect } from 'react';

const Index = () => {
  useEffect(() => {
    request
      .get(
        '/api/mmdb/movie/v3/list/hot.json?ct=%E9%98%BF%E6%8B%89%E5%96%84%E7%9B%9F&ci=150&channelId=4',
      )
      .then((res) => {
        console.log(res);
      });
  }, []);
  return (
    <>
      <h2>proxy反向代理</h2>
    </>
  );
};

export default Index;
